package com.prawn.user.pojo;

import javax.persistence.*;
import java.io.Serializable;

/**
 * @Auther: zhy
 * @Date: 2019/7/22
 * @Description: 角色权限
 */
@Entity
@Table(name = "sys_role_menu")
@IdClass(value = RolePermissionPK.class)
public class RolePermission implements Serializable {

    @Id
    private String roleId;
    @Id
    private String menuId;

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getMenuId() {
        return menuId;
    }

    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }
}
